package a.f;

import a.c.z;
import a.d.s;
import a.d.t;
import a.d.w;

public class vb
  implements yc
{
  public static final int a = 1;
  public static final int b = 2;
  public static final int c = 4;
  public static final int d = 8;
  public static final int e = 16;
  public static final int f = 32;
  public static final int g = 64;
  public static final int h = 128;
  public static final int i = 256;
  public static final int j = 512;
  public static final int k = 1024;
  public static final int l = 2048;
  public static final int m = 4096;
  public static final int n = 8192;
  public static final int o = 16384;
  public static final int p = 32768;
  public static final int q = 65536;
  public static final int r = 33;
  public static final int s = 130816;
  public static final int t = 57;
  public static final int u = 198;
  public static final int v = 255;
  static final Integer[] w = { new Integer(1), new Integer(2), new Integer(4), new Integer(8), new Integer(16), new Integer(32), new Integer(64), new Integer(128), new Integer(256), new Integer(512), new Integer(1024), new Integer(2048), new Integer(4096), new Integer(8192), new Integer(16384), new Integer(32768), new Integer(65536) };
  private static final Object x = new Integer(256);
  private static final Object y = new Integer(4);
  private static final Object z = new Integer(1);
  private static final Object A = new Integer(8);
  private double B;
  private final int C;
  public static int D;
  
  public vb()
  {
    this(130816, 4.0D);
  }
  
  public vb(int paramInt)
  {
    this(paramInt, 4.0D);
  }
  
  public vb(int paramInt, double paramDouble)
  {
    this.B = paramDouble;
    this.C = paramInt;
  }
  
  public int b()
  {
    return this.C;
  }
  
  public double c()
  {
    return this.B;
  }
  
  public void a(double paramDouble)
  {
    this.B = paramDouble;
  }
  
  public Object a()
  {
    boolean bool = o.eg;
    if (!bool) {
      if ((this.C & 0x100) != 0) {
        return x;
      }
    }
    if (!bool) {
      if ((this.C & 0x4) != 0) {
        return y;
      }
    }
    if (!bool)
    {
      if ((this.C & 0x1) != 0) {
        return z;
      }
      if (bool) {}
    }
    else if ((this.C & 0x8) != 0)
    {
      return A;
    }
    return x;
  }
  
  public boolean a(Object paramObject)
  {
    if ((paramObject instanceof Integer))
    {
      int i1 = ((Integer)paramObject).intValue();
      return (this.C & i1) != 0;
    }
    return false;
  }
  
  public a.d.o a(s params, zc paramzc, Object paramObject)
  {
    return a(params, paramzc, ((Integer)paramObject).intValue());
  }
  
  public z a(xc paramxc, zc paramzc)
  {
    boolean bool2 = o.eg;
    int i3 = o.dg;
    z localz = new z();
    t localt = paramxc.c();
    int i1 = 0;
    do
    {
      if (i1 >= w.length) {
        break;
      }
      int i2 = w[i1].intValue();
      if (!bool2)
      {
        if ((this.C & i2) != 0)
        {
          boolean bool1 = false;
          if (!bool2) {}
          switch (i2)
          {
          case 256: 
          case 512: 
          case 1024: 
          case 2048: 
          case 4096: 
          case 8192: 
          case 16384: 
          case 32768: 
          case 65536: 
            bool1 = true;
          }
          a.d.o localo = a(localt, paramzc, i2);
          localz.add(new hc(localo, w[i1], paramxc, bool1));
        }
        i1++;
      }
    } while (i3 == 0);
    return localz;
  }
  
  protected a.d.o a(s params, zc paramzc, int paramInt)
  {
    boolean bool = o.eg;
    int i1 = o.dg;
    double d1 = (0.0D / 0.0D);
    double d2 = (0.0D / 0.0D);
    if (!bool) {}
    switch (paramInt)
    {
    case 256: 
      d1 = paramzc.a() + (paramzc.c() - params.b()) / 2.0D;
      d2 = paramzc.b() + (paramzc.d() - params.c()) / 2.0D;
      if (!bool) {
        if (i1 == 0) {
          break label1008;
        }
      }
    case 512: 
      d1 = paramzc.a() + (paramzc.c() - params.b()) / 2.0D;
      d2 = paramzc.b() + (paramzc.d() - params.c()) - c();
      if (!bool) {
        if (i1 == 0) {
          break label1008;
        }
      }
    case 1024: 
      d1 = paramzc.a() + (paramzc.c() - params.b()) / 2.0D;
      d2 = paramzc.b() + c();
      if (!bool) {
        if (i1 == 0) {
          break label1008;
        }
      }
    case 2048: 
      d1 = paramzc.a() + c();
      d2 = paramzc.b() + (paramzc.d() - params.c()) / 2.0D;
      if (!bool) {
        if (i1 == 0) {
          break label1008;
        }
      }
    case 4096: 
      d1 = paramzc.a() + (paramzc.c() - params.b()) - c();
      d2 = paramzc.b() + (paramzc.d() - params.c()) / 2.0D;
      if (!bool) {
        if (i1 == 0) {
          break label1008;
        }
      }
    case 8192: 
      d1 = paramzc.a() + c();
      d2 = paramzc.b() + c();
      if (!bool) {
        if (i1 == 0) {
          break label1008;
        }
      }
    case 16384: 
      d1 = paramzc.a() + (paramzc.c() - params.b()) - c();
      d2 = paramzc.b() + c();
      if (!bool) {
        if (i1 == 0) {
          break label1008;
        }
      }
    case 32768: 
      d1 = paramzc.a() + c();
      d2 = paramzc.b() + (paramzc.d() - params.c()) - c();
      if (!bool) {
        if (i1 == 0) {
          break label1008;
        }
      }
    case 65536: 
      d1 = paramzc.a() + (paramzc.c() - params.b()) - c();
      d2 = paramzc.b() + (paramzc.d() - params.c()) - c();
      if (!bool) {
        if (i1 == 0) {
          break label1008;
        }
      }
    case 1: 
      d1 = paramzc.a() + (paramzc.c() - params.b()) / 2.0D;
      d2 = paramzc.b() - params.c() - c();
      if (!bool) {
        if (i1 == 0) {
          break label1008;
        }
      }
    case 2: 
      d1 = paramzc.a() - params.b() - c();
      d2 = paramzc.b() - params.c();
      if (!bool) {
        if (i1 == 0) {
          break label1008;
        }
      }
    case 4: 
      d1 = paramzc.a() + paramzc.c() + c();
      d2 = paramzc.b() - params.c();
      if (!bool) {
        if (i1 == 0) {
          break label1008;
        }
      }
    case 8: 
      d1 = paramzc.a() + paramzc.c() + c();
      d2 = paramzc.b() + (paramzc.d() - params.c()) / 2.0D;
      if (!bool) {
        if (i1 == 0) {
          break label1008;
        }
      }
    case 16: 
      d1 = paramzc.a() - params.b() - c();
      d2 = paramzc.b() + (paramzc.d() - params.c()) / 2.0D;
      if (!bool) {
        if (i1 == 0) {
          break label1008;
        }
      }
    case 32: 
      d1 = paramzc.a() + (paramzc.c() - params.b()) / 2.0D;
      d2 = paramzc.b() + paramzc.d() + c();
      if (!bool) {
        if (i1 == 0) {
          break label1008;
        }
      }
    case 64: 
      d1 = paramzc.a() - params.b() - c();
      d2 = paramzc.b() + paramzc.d();
      if (!bool) {
        if (i1 == 0) {
          break label1008;
        }
      }
    case 128: 
      d1 = paramzc.a() + paramzc.c() + c();
      d2 = paramzc.b() + paramzc.d();
    }
    label1008:
    return new a.d.o(new w(d1, d2 + params.c()), params);
  }
  
  public Object a(a.d.o paramo, zc paramzc)
  {
    if (wc.a(paramo)) {
      throw new IllegalArgumentException("Invalid label bounds: " + paramo);
    }
    nc localnc = new nc();
    localnc.a(paramo);
    z localz = a(localnc, paramzc);
    if ((o.eg) || (localz.isEmpty())) {
      return a();
    }
    w localw = paramo.l();
    return ob.a(localz, localw).c();
  }
}


/* Location:           E:\idea\
 * Qualified Name:     a.f.vb
 * JD-Core Version:    0.7.0.1
 */